<{include file="wiget/header.tpl"}>
<{include file="wiget/navbar.tpl"}>
<div id='left'></div>
<div id='content' class="span8">
<form class="form-horizontal"  accept-charset="utf-8" autocomplete="on"  method="post"
				action="/user/reg" onSubmit="return CheckForm();">
  <div class="control-group">
    <label class="control-label"  >用户名:</label>
    <div class="controls">
      <input type="text" id="name" name="name" placeholder="用户名"/>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputEmail">邮箱:</label>
    <div class="controls">
      <input type="text" id="inputEmail" name="email" placeholder="邮箱"/>
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputPassword">密码:</label>
    <div class="controls">
      <input type="password" id="inputPassword" name="password" placeholder="密码"/>
    </div>
  </div>
  <div class="control-group">
    <div class="controls">
      <button type="submit" name="op" value="reg" class="btn btn-success">注册</button>
    </div>
  </div>
</form>
</div>
<script language=javascript>
function CheckForm()
{
//alert($('#name').val());
 // return false;
 return true;
}
</script>

<{include file="wiget/footer.tpl"}>